﻿{{~
    name = x.name
    namespace_with_top_module = x.namespace_with_top_module
    comment = x.comment
    itemInfos = x.itemInfos
~}}

enum {{x.pb_full_name}} {
    {{~for itemInfo in itemInfos ~}}
    {{x.pb_full_name}}_{{itemInfo.name}} = {{itemInfo.int_value}};
    {{~end~}}
    {{~if itemInfos.empty?}}
    {{x.pb_full_name}}_EMPTY_PLACEHOLDER = 0;
    {{~end~}}
}